package com.example.designpattenexample.facade.example;

public class Secretary {
    private Chauffeur chauffeur = new Chauffeur();
    private Hotel hotel = new Hotel();
    private Restaurant restaurant = new Restaurant();
    private Airport airport = new Airport();

    public void trip(String to,int days){
        airport.bookTicket("南京",to);
        chauffeur.drive("机场");
        hotel.reserve(days);
    }

    public void repast(int num){
        restaurant.reserve(num);
        chauffeur.drive("酒店");
    }
}
